{template 'common/header'}
<style>
    .sub-search input,.sub-search select{margin-bottom:0;}
</style>


<div class="panel panel-default">
    <div>
		<h3>请输入体彩5编号：</h3>
		<form action="" method="post">
		<input type="tel" name="wdl_anhao" value="" style="width:250px; height:50px; font-size:16px; margin-left:20px;">
		<input type="submit" value="提交" style="background:#428bca;border-radius:5px;
 border:none; width:100px; height:40px; margin:20px; color:#fff;">
		</form>
	</div>
</div>

<script>
    $(function () {
        //详细数据相关操作
        var tdIndex;
        $("#table-list thead").delegate("th", "mouseover", function () {
            if ($(this).find("i").hasClass("")) {
                $("#table-list thead th").each(function () {
                    if ($(this).find("i").hasClass("icon-sort"))
                        $(this).find("i").attr("class", "");
                });
                $("#table-list thead th").eq($(this).index()).find("i").addClass("icon-sort");
            }
        });
        $("#table-list thead th").click(function () {
            if ($(this).find("i").length > 0) {
                var a = $(this).find("i");
                if (a.hasClass("icon-sort") || a.hasClass("icon-caret-up")) { //递减排序
                    /*
                     数据处理代码位置
                     */
                    $("#table-list thead th i").attr("class", "");
                    a.addClass("icon-caret-down");
                } else if (a.hasClass("icon-caret-down")) { //递增排序
                    /*
                     数据处理代码位置
                     */
                    $("#table-list thead th i").attr("class", "");
                    a.addClass("icon-caret-up");
                }
                $("#table-list thead th,#table-list tbody:eq(0) td").removeClass("row-hover");
                $(this).addClass("row-hover");
                tdIndex = $(this).index();
                $("#table-list tbody:eq(0) tr").each(function () {
                    $(this).find("td").eq(tdIndex).addClass("row-hover");
                });
            }
        });
    });
</script>
{template 'common/footer'}